define(['knockout', 'text!./side-bar.html', 'ace-elements', 'ace'], function(ko, templateMarkup) {

  function SideBar(params) {
	 $('#sidebar').ace_sidebar();
  }

	
  // This runs when the component is torn down. Put here any logic necessary to clean up,
  // for example cancelling setTimeouts or disposing Knockout subscriptions/computeds.
  SideBar.prototype.dispose = function() { };
  
  return { viewModel: SideBar, template: templateMarkup };

});
